using System.Collections.Generic;

namespace JlPay.Sdk.Core
{
    /// <summary>
    /// HTTP请求
    /// </summary>
    public class HttpRequest
    {
        /// <summary>
        /// 请求URL
        /// </summary>
        public string Url { get; set; } = string.Empty;

        /// <summary>
        /// 请求方法，例如：GET, POST
        /// </summary>
        public string Method { get; set; } = "GET";

        /// <summary>
        /// 请求头
        /// </summary>
        public Dictionary<string, string> Headers { get; set; } = new();

        /// <summary>
        /// 请求体
        /// </summary>
        public object? Body { get; set; }
    }
} 